import { request } from './request.js'

export default {
  // 赠送礼物
  sendGift: function (params) {
    return request('gift/v1/send', params)
  },
  // 领取礼物
  receiveGift: function (params) {
    return request('gift/v1/receive', params)
  },
  // 查询礼物信息
  getGiftInfo: function (params) {
    return request('gift/v1/info', params)
  },
  // 礼物记录
  getGiftRecord: function (params) {
    return request('gift/v1/record/list', params)
  },
}